package com.project.logistics.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.project.logistics.bean.Repairman;
import com.project.logistics.bean.Repairs;
import com.project.logistics.mapper.RepairmanMapper;
import com.project.logistics.mapper.RepairsMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * Created by94988 on 2021/3/19 18:21
 */
public interface RepairmanService extends IService<Repairman> {
    boolean deleteById(String userId);

    Repairman findRepairmanById( String id);

    int updateRepairman(Repairman repairman);

    int setCount(String repairmanId);
    Repairman getRepairmanByUserId(String userId);


    Repairman getTodayRepairman();


    int deleteTodayRepairman(String userId);

    int updateTodayRepairman(String userId);

}
